<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta content="text/html; charset=utf-8" http-equiv="Content-Type">

	<link type="text/css" rel="stylesheet" href="{TPL}css/AddItemPanel.css">

		<link type="text/css" rel="stylesheet" href="{TPL}css/NewTopFoot.css" />

        <link type="text/css" rel="stylesheet" href="templates/default/css/ShoppingRecords.css">

		<link type="text/css" id="styleName" rel="stylesheet"

			href="{TPL}css/blue/color.css"/ >

			<link type="text/css" rel="stylesheet" href="{TPL}css/circuit.css" />

			<script src="{TPL}js/jquery-1.4.1.min.js" type="text/javascript"></script>

			<title>到货预报 - {$cfg_site_name}</title>

</head>

<body onload="window.location.Reload();">

	{template 'header'}

	<div class="admin">

		<div class="ding">

			<div class="shouye">

				<a title="我的首页" href="{url_m.php}"></a>

			</div>

			<div class="lb">

				<div class="weizhi">

					<b>{lang Location}：</b><a href="{url_m.php}">{lang

						Member_Center}</a><span>&gt;</span> 到货预报

				</div>



				<div class="shezhi">

					<p>

						<a href="{url_m.php}">{lang My_Member_Center}</a><span>|</span>{lang

						Setting_style}：

					</p>

					<ul>

						<li onclick="changeStyle('orange')" class="mypanliS1"></li>

						<li onclick="changeStyle('grey')" class="mypanliS2"></li>

						<li onclick="changeStyle('blue')" class="mypanliS3"></li>

					</ul>

				</div>

			</div>

		</div>



		{template 'member_left'}



		<div class="fill">

			<form action="?name=goodsforecast&action=add" method="post">

				<p>&nbsp;</p>

                <p>&nbsp;</p>

			    <div class="biao tui">

                <div class=""></div>

				<table>

				  <tr>

				    <td width="216"><select id="ddlDepot" name="ddlDepot">

				    <option value="1" selected="selected">德国Andernach仓库</option>

			      </select></td>

				    <td width="362">选择快递公司：

				      <select id="ddlEx" name="ddlEx">

				      <option value="UPS" selected="selected">UPS</option>

				      <option value="FEDEX">FEDEX</option>

				      <option value="USPS">USPS</option>

				      <option value="DHL">DHL</option>

				      <option value="TNT">TNT</option>

				      <option value="EMS">EMS</option>

				      <option value="ONTRAC">ONTRAC</option>

				      <option value="其他">其他</option>

			        </select></td>

				    <td width="156"><select id="ddlNum" name="ddlNum">

				      <option value="1" selected="selected">1件</option>

				      <option value="2">2件</option>

				      <option value="3">3件</option>

				      <option value="4">4件</option>

				      <option value="5">5件</option>

				      <option value="6">6件</option>

				      <option value="7">7件</option>

				      <option value="8">8件</option>

				      <option value="9">9件</option>

				      <option value="10">10件</option>

				      <option value="11">11件</option>

				      <option value="12">12件</option>

				      <option value="13">13件</option>

				      <option value="14">14件</option>

				      <option value="15">15件</option>

				      <option value="16">16件</option>

				      <option value="17">17件</option>

				      <option value="18">18件</option>

				      <option value="19">19件</option>

				      <option value="20">20件</option>

			        </select></td>

			      </tr>

				  <tr>

				    <td colspan="3"><div class="divitem" id="items">

					<div class="item">

                        购物网站：<input name="shops[]" type="text" size="8" maxlength="50"> 

						转运号码：<input name="ex[]" type="text" size="8" maxlength="50"> 

						包裹内容：<input name="bag[]" type="text" size="10"	maxlength="50"> 

						备注：<input name="remark[]" type="text" size="8" maxlength="50"> 

						保价：￥
						<input name="insure[]" type="text" value="0" size="3" maxlength="10"><br/>

				  </div>

			  </div></td>

			      </tr>

				  <tr>

				    <td colspan="3"><div class="divitembt">

					<input type="submit" value="保存" />

				</div></td>

			      </tr>

			  </table>

            <div class=""></div>

            </div>

			</form>

		</div>

		<div class="yj"></div>

	</div>

	{template 'footer'}

	<script type="text/javascript">

		$(document).ready(function() {

			var html = $("div#items").find("div.item").first().html();

			function addItem(count) {

				var i = 1;

				$("div#items").html("");

				for(; i <= count; i++){

					$("div#items").append(html);

				}

			}

			$("#ddlNum").change(function() {

				var num = $(this).val();

				if (num > 0) {

					addItem(num);

				}

			});

		});

	</script>

</body>

</html>

